package com.lanyou.esb.cook.proxy.service;

import com.lanyou.esb.cook.proxy.entity.AccLog;
import com.lanyou.esb.cook.proxy.service.push.Push;

/**
 * 服务日志接口
 * 
 * @author Davey.wu
 */
public interface AccLogService {

	/**
	 * 将日志存储到Redis
	 *
	 * @param log：日志
	 */
	public void pushToRedis(AccLog log);

	/**
	 * 获取需要推送的数据
	 * 
	 * @return
	 */
	Push<AccLog> getPush();
}
